package com.gqz.defect.mapstruct;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.gqz.defect.entity.TEnDefectsSheetEntity;
import com.gqz.defect.vo.EnDefectsSheetVo;
import org.mapstruct.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;


/**
 * @ClassName EnDefectsSheetMapstruct
 * @Description 消缺工单表
 */
@Mapper(componentModel = "spring", imports = {})
@Component
public interface EnDefectsSheetMapstruct {

    EnDefectsSheetVo toVo(TEnDefectsSheetEntity entity);

    List<EnDefectsSheetVo> toVos(List<TEnDefectsSheetEntity> entity);

    Page<EnDefectsSheetVo> toVos(Page<TEnDefectsSheetEntity> entity);

    TEnDefectsSheetEntity toEntity(EnDefectsSheetVo vo);

    List<TEnDefectsSheetEntity> toEntitys(List<EnDefectsSheetVo> vos);


}
